﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Demo</title>
    <script src="~/layui/layui.js"></script>
    <link href="~/layui/css/layui.css" rel="stylesheet" />
</head>
<body>
    <form class="layui-form" action="">
        @*  <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px;">公司名称</label>
        <div class="layui-input-inline layui-input-wrap">
        <input type="text" id="offic_name" lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
        </div>
        </div> *@
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">账号</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" id="login_name" lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">密码</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="password" id="password"  lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
            </div>
        </div>
        @*   <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px;">工号</label>
        <div class="layui-input-inline layui-input-wrap">
        <input type="text" id="no" lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
        </div>
        </div> *@
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">姓名</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" id="name" lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">邮箱</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" id="email" lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">手机</label>
            <div class="layui-input-inline layui-input-wrap">
                <input type="text" id="phone" lay-verify="required" autocomplete="off" lay-affix="clear" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">用户类型</label>
            <div class="layui-input-block">
                <input type="radio" name="user_type" value="0" title="员工" checked>
                <input type="radio" name="user_type" value="1" title="主管">
                <input type="radio" name="user_type" value="2" title="副经理">
                <input type="radio" name="user_type" value="3" title="总经理">
                <input type="radio" name="user_type" value="110" title="董事长">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">性别</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" value="1" title="男" checked>
                <input type="radio" name="sex" value="0" title="女">
                @* <input type="radio" name="sex" value="禁" title="禁用" disabled> *@
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">用户类型</label>
            <div class="layui-input-block">
                <input type="radio" name="mgr_type" value="0" title="用户" checked>
                <input type="radio" name="mgr_type" value="1" title="管理员">
            </div>

        </div>
        @*  <div class="layui-form-item">
        <label class="layui-form-label">头像</label>
        <div>
        <button type="button" class="layui-btn" id="ID-upload-demo-btn">
        <i class="layui-icon layui-icon-upload"></i> 单图片上传
        </button>
        <div style="width: 132px;">
        <div class="layui-upload-list">
        <img class="layui-upload-img" id="ID-upload-demo-img" style="width: 100%; height: 92px;">
        <div id="ID-upload-demo-text"></div>
        </div>
        <div class="layui-progress layui-progress-big" lay-showPercent="yes" lay-filter="filter-demo">
        <div class="layui-progress-bar" lay-percent=""></div>
        </div>
        </div>
        </div>

        </div>
        *@
        @*   <div class="layui-form-item">
        <div class="layui-inline">
        <label class="layui-form-label" style="width: 100px;">到期时间</label>
        <div class="layui-input-inline">
        <input type="date" class="layui-input" id="end_date" placeholder="yyyy-MM-dd">
        </div>
        </div>
        </div> *@

        <div class="layui-form-item">
            <label class="layui-form-label" style="width: 100px;">状态</label>
            <div class="layui-input-block">
                <input type="radio" name="useable" value="1" title="启用" checked>
                <input type="radio" name="useable" value="0" title="禁用">
            </div>

        </div>
        <div class="layui-form-item">
            <input type="button" value="注册" class="layui-btn" onclick="Enroll()" />
            <input type="button" value="取消" class="layui-btn" />
            @* <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="demo-login" click="Login()">提交</button> *@
        </div>



    </form>



    <script src="~/js/user/useradd.js"></script>

</body>
</html>
